const Router = require('koa-router')
const focusRouter = new Router({prefix: '/focus'})

const {
    verifyAuth,
    verifyPermission
} = require('../middleware/auth.middleware')

const {
    create,
    remove,
    followedList,
    followerList
} = require('../controller/focus.controller')

focusRouter.get('/followed', verifyAuth, followedList)
focusRouter.get('/follower', verifyAuth, followerList)
focusRouter.post('/', verifyAuth, create)
// likeRouter.post('/:commentId/reply', verifyAuth, reply)
// likeRouter.patch('/:commentId', verifyAuth, verifyPermission, update)
focusRouter.delete('/', verifyAuth, remove)
 
module.exports = focusRouter
// commentRouter.post('/reply', verifyAuth, reply)


